package cn.bob.mapper;

import cn.bob.domain.UserMovie;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bob
 * @since 2022-11-23
 */
public interface UserMovieMapper extends BaseMapper<UserMovie> {

    List<UserMovie> selectByUserId(Long userId);

    UserMovie selectByUserAndMovie(Long id, Long userId);
}
